if (document.destForm.ftp_radio[0].defaultChecked)
{
onSetDisabled(true)
}
else
{
onSetFilename();
}
}
function onSetDisabled(test)
{
if (test == true)
{
document.destForm.host.disabled = true;
document.destForm.port.disabled = true;
document.destForm.user.disabled = true;
document.destForm.password.disabled = true;
document.destForm.account.disabled = true;
document.destForm.dir.disabled = true;
onSetFilenameDisabled( true );
document.destForm.server_default.value = true;
}
else
{
document.destForm.host.disabled = false;
document.destForm.port.disabled = false;
document.destForm.user.disabled = false;
document.destForm.password.disabled = false;
document.destForm.account.disabled = false;
document.destForm.dir.disabled = false;
onSetFilenameDisabled( false );
document.destForm.server_default.value = false;
}
}
</script>
<table width='95%' cellpadding=5 cellspacing=5>
<tr><td class='list' colspan=2> You can schedule to a FTP server with a choice of two different sets of values: </td></tr>
<tr>
<td class='list' colspan=2> <input type="radio" name="ftp_radio" %8 onclick="javascript:onSetDisabled(true);"> Use the Crystal Job Server's defaults </td>
</tr>
<tr>
<td class='list' colspan=2> <input type="radio" name="ftp_radio" %7 onclick="javascript:onSetDisabled(false);"> Set the values to be used at schedule time here: </td>